# -*- coding: utf-8 -*-
# @Time : 2025/1/25 15:14
# @Author : debbyszhang
# @File : add_sub_chainmaker.py
# @desc :
import allure

from pageObject.cross_gateway_list_page import CrossGatewayListPage


@allure.feature("授权申请")
class TestApply:

    def test_apply(self, page):
        cross_gateway_page = CrossGatewayListPage(page)
        t = cross_gateway_page.apply(0)
        print(t)
        assert t == '新增成功'
